#ifndef SSICLOUD_OIL_ANALYSIS_REFUEL_H
#define SSICLOUD_OIL_ANALYSIS_REFUEL_H

#include "ssicloud_list_object.h"

namespace ssicloud {
/**
 * @brief The OilAnalysisRefuel class
 *
 */
class OilAnalysisRefuel: public ListObject<OilAnalysisRefuelLNode> {
public:
    OilAnalysisRefuel();
    ~OilAnalysisRefuel();

    //! 获取数据
    bool requestAll(const char *start = "2021-02-21 00:00:00",
                    const char *end = "2021-02-24 23:59:59",
                    int pageNum = 1, int pageSize = 10);

    //! 调试信息
    void profile();

protected:
    //! 分析数据
    int genResult(NetBuffer *data);

private:
    // request
    ByteString m_start, m_end;
    SFString m_pageNum;
    SFString m_pageSize;
};


}

#endif // SSICLOUD_OIL_ANALYSIS_REFUEL_H
